window: Export theme variant to X11
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 20 Mar 2011 13:37:27 +0000 (14:37 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 21 Mar 2011 14:06:34 +0000 (15:06 +0100)
commit3032fdce2a6391f69c233adfe4f60c339291b7e4
tree0a5ec2b3fd0a1e0ca83148f249036ec6267ae457
parentc3ba127907ff530f06b3484532bf6409e28717c2
window: Export theme variant to X11

The metacity theme format allows to use colors from the current
GTK+ theme in window decorations. Since GTK+ now gained support
for dark theme variants, window managers using that theme format
(metacity, mutter, compiz via gtk-window-decorator) should be able
to use colors from the correct variant; so in case a variant is
requested, export it in the _GTK_THEME_VARIANT property on
toplevel windows.

https://bugzilla.gnome.org/show_bug.cgi?id=645354
docs/reference/gdk/gdk3-sections.txt
gdk/gdk.symbols
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkx11window.h
gtk/gtkwindow.c